package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("performance_interview")
@ApiModel(value = "绩效面谈记录")
public class PerformanceInterview {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("考核者")
    private String appraiser;

    @ApiModelProperty("工号")
    private String employeeId;

    @ApiModelProperty("职务")
    private String position;

    @ApiModelProperty("任职部门")
    private String department;

    @ApiModelProperty("上级主管")
    private String superior;

    @ApiModelProperty("面谈时间")
    private LocalDateTime interviewTime;

    @ApiModelProperty("本月计划")
    private Boolean monthlyPlan;

    @ApiModelProperty("上月考核")
    private Boolean lastMonthReview;

    @ApiModelProperty("本月计划/上月考核")
    private Boolean bothType;

    @ApiModelProperty("绩效目标制定面谈问题")
    private String goalQuestion;

    @ApiModelProperty("绩效目标制定面谈记录")
    private String goalRecord;

    @ApiModelProperty("实施辅导面谈问题")
    private String coachingQuestion;

    @ApiModelProperty("实施辅导面谈记录")
    private String coachingRecord;

    @ApiModelProperty("绩效考评总结面谈问题")
    private String evaluationQuestion;

    @ApiModelProperty("绩效考评总结面谈记录")
    private String evaluationRecord;

    @ApiModelProperty("双方确认")
    private String mutualConfirmation;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}